package com.hotline.communication.mapper;

import com.hotline.communication.dto.CallLogDTO;
import com.hotline.communication.entity.CallLog;
import java.util.List;

public interface CallLogMapper {

    /**
     * 新增
     * @param callLog
     * @return
     */
    Integer insert(CallLog callLog);


    /**
     * 更新
     * @param callLog
     * @return
     */
    Integer update(CallLog callLog);

    /**
     * 更新
     * @param callLog
     * @return
     */
    Integer update2(CallLog callLog);


    /**
     * ID查找
     *
     * @param callId
     * @return
     */
    CallLogDTO selectById(String callId);

    /**
     * 列表查询
     * @param callLogDTO
     * @return
     */
    List<CallLogDTO> selectList(CallLogDTO callLogDTO);

}
